export default [
  {
    path: "/",
    redirect: "/home",
  },
  {
    path: "/beforeLogin",
    component: "BeforeLogin",
  },
  {
    path: "/login",
    component: "Login",
  },
  {
    path: "/reg",
    component: "Register",
  },
  {
    path: "/home",
    component: "Home",
  },
  {
    path: "/itemLists",
    component: "ItemLists",
  },
  {
    path: "/listDetail",
    component: "ListDetail",
  },
  {
    path: "/cart",
    component: "Cart",
     wrappers: [
        '@/wrappers',
      ],
  },
  {
    path: "/itemDetail",
    component: "ItemDetail",
  },
  {
    path: "/mine",
    component: "Mine",
  },
  {
    path: "/search",
    component: "SearchPage",
  },
  {
    path: "*",
    component: "NotFound",
  },
];
